var express = require('express');
var router = express.Router();
const {news} = require('../db/news.json');
/* GET home page. */
router.get('/news', function(req, res, next) {
  res.render('news', {news})
});

module.exports = router;
